/**
 * Created by mill on 2017/11/19.
 */
import React , {Component} from 'react';
import {render} from 'react-dom';

class HelloMessage extends Component{
    render() {
        return <h1>Hello {this.props.name}</h1>;
    }
}
render(
    <HelloMessage name="John" />,
    document.getElementById('example')
);

